import { FightPlayer } from "../battle/fightplayer"
import { Player } from "./player"
type ActionName = 'begin'
    | 'prehand'
    | 'createcard'
    | 'reveal'
    | 'drawcard'
    | 'showcards'
    | 'discard'
    | 'overflow'
    | 'delcard'
    | 'rehand'
    | 'redeck'
    | 'attack'
    | 'adjust'
    | 'addcost'
    | 'addpower'
    | 'use'
    | 'die'
    | 'withdraw'
    | 'occupy'
    | 'unoccupy'
    | 'setvocation'
    | 'addmana'
    | 'replace'
    | 'summon'
    | 'move'
    | 'betray'
    | 'transform'
    | 'settemplet'
    | 'setdescription'
    | 'castskill'
    | 'castbehave'
    | 'casteffect'
    | 'addbuff'
    | 'removebuff'
    | 'addaura'
    | 'updateaura'
    | 'removeaura'
    | 'changefield'
    | 'found'
    | 'foundover'
    | 'research'
    | 'researchover'
    | 'intimidate'
    | 'addturn'
    | 'endturn'
    | 'perform'
    | 'tired'
    | 'gameover'
    | 'updateinfo'
    | 'overload'
    | 'showcaution'
    | 'clearcautionbyid'
    | 'clearcaution'
    | 'oblivion'
    | 'bubble'
export default interface Action {
    index: number
    playerA?: Player
    playerB?: Player
    name: ActionName
    obj?: Record<string, any>,
    para?:Record<string, any>,
    complement?:{id:number}
    sub?:any,
    aura?:any,
    objs?:any[]
}